:root
{
    --manageButtonBoxHeight: 72px;
    --searchBoxHeight: 48px;
}

/*search box 相关样式*/
.table-name-input
{
    background-color: rgba(0, 0, 0, 0);
    width: 100px;
    height: 100%;
    padding: 0;
    margin: 0;
    font-size: 16px;
    transition: 0.3s;
    border: none;
    border-right: 2px solid #000;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    border-top-right-radius: calc(0.5 * var(--searchBoxHeight));
    border-bottom-right-radius: calc(0.5 * var(--searchBoxHeight));
    top: -2px;
    left: calc(var(--searchBoxHeight) / 2);
    position: relative;
}

.table-name-input:focus
{
    outline: none;
}

.search-text-input
{
    background-size: 24px;
    background-color: inherit;
    font-size: 15px;
    padding: 0;
    padding-inline-start: calc(var(--searchBoxHeight) / 2 + 20px);
    padding-inline-end: calc(var(--searchBoxHeight) - 4px);
    width: 100%;
    border: none;
}

.search-text-input:focus
{
    outline: none;
}

.search-button
{
    background: url("../icon/search.svg") no-repeat center center;
    background-size: 16px 16px;
    border: none;
    padding: 0;
    fill: white;
    height: var(--searchBoxHeight);
    align-self: center;
    inset-inline-end: 2px;
    position: absolute;
    width: var(--searchBoxHeight);
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
}

.search-button:hover
{
    opacity: 1
}

.search-button:focus
{
    outline: none;
}

.search-box
{
    position: absolute;
    top: calc((100% - var(--bodyMargin) - var(--bodyMargin) - var(--tabBarHeight)) / 2 - 96px);
    left: calc(25% - 2px);
    cursor: default;
    height: var(--searchBoxHeight);
    /*position: relative;*/
    width: 50%;
    display: flex;
    margin: auto auto;
    padding: 0;
    border: 2px solid #000;
    border-radius: calc(0.5 * var(--searchBoxHeight));
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
}

/*manage box 相关配置*/
.manage-info-box
{
    height: calc(100% - var(--manageButtonBoxHeight) - 20px);
}

.manage-button-box
{
    background-color: rgba(0, 0, 100, 0.1);
    float: top;
    width: 70%;
    padding: 10px 5%;
    margin: auto;
    border-radius: calc((var(--manageButtonBoxHeight) + 10px) / 2);
    height: var(--manageButtonBoxHeight);
}

.manage-button
{
    display: inline-block;
    outline: none;
    background-color: rgba(200, 200, 150, 0.5);
    border: none;
    width: 16%;
    height: 80%;
    margin: calc(var(--manageButtonBoxHeight) / 10) 4%;
    padding: 20px;
    transition: 1s;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
}

.manage-button:hover
{
    background-color: rgba(200, 200, 150, 1);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.8);
}

.manage-info-box-fieldset
{
    height: calc(100% - 60px);
    width: calc(100% - 68px);
    margin: 16px 14px;
    padding: 16px 14px;
}

/*analyze box 相关配置*/
.analyze-optional
{
    position: relative;
    width: 30%;
    margin: 0 auto;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.8);
    transition: 0.5s;
}

.analyze-optional:hover
{
    width: 35%;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 255, 0.8);
}

.analyze-optional:active
{
    width: 35%;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.8);
}

.analyze-optional-img
{
    width: 100%;
}

.analyze-optional-content
{
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    width: calc(100% - 40px);
    padding: 20px;
}
